package org.rdst.urchin.bean;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;


public class UserBean implements Serializable {


    private int id;
    private String userName;
    private String password;
    private long createTime;
    private String level;
    private int score;
//------------------------------------------------------------------------------------//
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "{" +
                "id:" + id +
                ", userName:'" + userName + '\'' +
                ", password:'" + password + '\'' +
                ", createTime:" + createTime +
                ", level:'" + level + '\'' +
                ", score:" + score +
                '}';
    }
}

